package com.cxyd.modules.wms.dao;

import com.cxyd.common.dao.BaseDao;
import com.cxyd.modules.wms.entity.OrderDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 出库明细
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
@Mapper
public interface OrderDetailDao extends BaseDao<OrderDetailEntity> {
    void procOrderDetailAllotAuto(@Param("parameter") Map<String, Object> parameters);

    void procOrderDetailAllotExec(@Param("parameter") Map<String, Object> parameters);

    void procOrderDetailAllotManual(@Param("parameter") Map<String, Object> parameters);

    void procOrderDetailRefund(@Param("parameter") Map<String, Object> parameters);

    int batchSaveOrderDetails(List<OrderDetailEntity> detailList);

    String selectZllbhs(String waveNo);
}